package cn.edu.sdju.fengguoyu.ahoedgemonitor;

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class UserInfoTableRow {
    private final IntegerProperty userId = new SimpleIntegerProperty(this, "userId");
    private final StringProperty userAddress = new SimpleStringProperty(this, "userAddress");
    public String want;
    public UserSprite userSprite;

    public int getUserId() {
        return userId.get();
    }
    public void setUserId(int userId) {
        this.userId.set(userId);
    }

    public IntegerProperty userIdProperty() {
        return userId;
    }

    public String getUserAddress() {
        return userAddress.get();
    }
    public void setUserAddress(String s) {
        this.userAddress.set(s);
    }

    public StringProperty ipAddressProperty() {
        return userAddress;
    }
}
